<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Photos
 *
 * @author momma
 */
class Photos extends Controller{

    //**************************************************************
    // I created the photos controller with the intention of adding the image
    //manipulation but I didnt get to it so its the same as the chi phi
    //controller
    //*************************************************************



             /*    The controller inherits all the functions of the Controller
             * class first, next it sets the variables created above to thier
             * locations in the config file and loads the URL helper class.
             *
             */


    function __construct()
    {
        parent::Controller();
        $this->base = $this->config->item('base_url');
        $this->css = $this->config->item('css');
        $this->load->helper('url');



    }


        /*  The following functions are all almost identical to one another. I
         * will go through the order of them.
         *
         * Load the style sheet location into the data array
         *  $data['css'] = $this->css;

         * Load the base URL into the data array
            $data['base'] = $this->base;
         *
         * Load the page title to be passed to the view
            $data['title'] = 'Chi Phi, Nu Delta: The Florida State Chapter';

         *
         * Load the header, then load the page that corresponds with the function
         * name and then load the footer
            $this->load->view('header', $data);
            $this->load->view('home');
            $this->load->view('footer');
         *
         */





    function semiformal()
    {
        $data['css'] = $this->css;
        $data['base'] = $this->base;
        $data['title'] = 'Chi Phi, Nu Delta: The Florida State Chapter';

        $this->load->view('header', $data);
        $this->load->view('photos_semiformal');
        $this->load->view('footer');
    }

    function halloween()
    {
        $data['css'] = $this->css;
        $data['base'] = $this->base;
        $data['title'] = 'Chi Phi, Nu Delta: The Florida State Chapter';

        $this->load->view('header', $data);
        $this->load->view('photos_halloween');
        $this->load->view('footer');
    }

    function maryland()
    {
        $data['css'] = $this->css;
        $data['base'] = $this->base;
        $data['title'] = 'Chi Phi, Nu Delta: The Florida State Chapter';

        $this->load->view('header', $data);
        $this->load->view('photos_maryland');
        $this->load->view('footer');
    }




}
?>
